package cn.sharp.bbs.entity.BO;

import cn.sharp.bbs.common.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @className: BillOut
 * @description: 积分支出账单
 * @author: 王晓崧
 * @date: 2022/7/9
 **/
@Data
public class BillOut extends PageParam implements Serializable {
    private Long u_id;
    private String type;//操作类型
    private Integer num;//积分变动数额
    private String mark;//详细信息
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;//时间

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
